home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / bywhen10.zip / BYWHEN1.BAT < prev    next >
DOS Batch File  |  1995-01-09  |  879b  |  43 lines

  1. @echo off
  2. cls
  3. goto setvars
  4. ////////////////////////////////////////////////
  5. /  NAME: bywhen1.bat                           /
  6. /  PURPOSE: example of calling BYWHEN.EXE      /
  7. /  DATE: 11/24/94                              /
  8. /  NOTE: The set vars should be set to reflect /
  9. /        your own system.                      /
  10. /        Remove the @ if DOS ver prior to 3.30 /
  11. ////////////////////////////////////////////////
  12.  
  13. :setvars
  14. set __bat=runchk.bat
  15. set __time=/t:21:44:00
  16. set __date=/d:11/24/1994
  17. set __errln=/w
  18. goto start
  19.  
  20. :start
  21. if not exist %__bat% goto error
  22. call bywhen %__bat% %__time% %__date% %__errln%
  23. echo.
  24. cls
  25. goto fini
  26.  
  27.  
  28. :error
  29. echo.
  30. echo  Could not find %__bat%
  31. echo  You may need to change the set vars in %0.bat to reflect your system.
  32. goto clrvars
  33.  
  34.  
  35. :fini
  36. set __bat=
  37. set __time=
  38. set __date=
  39. set __errln=
  40. goto end
  41.  
  42. :end
  43.